from sqlalchemy import Column, String, ForeignKey
from ..database import Base

class RolePermissionModel(Base):
    __tablename__ = "role_permissions"

    role_id = Column(String, ForeignKey("roles.id"), primary_key=True)
    permission_id = Column(String, ForeignKey("permissions.id"), primary_key=True)